#ifndef MAIN_WIN_HPP_
#	define MAIN_WIN_HPP_

#	include <QtGui>
#	include "ui_mainwin.h"
#	include "../Chess.hpp"

class MainWin : public QMainWindow, private Ui::MainWindow
{
	Q_OBJECT
	
	public:
		
		MainWin(QWidget* parent = 0);
		~MainWin();
		
		void			closeEvent(QCloseEvent* event);
		QPushButton*	getCastlingButton(CastlingAction::Type type) const;
		QLabel*			getStatusLabel()	const;
		QGraphicsView*	getGraphicsView() const;
		QAction*		getNewAction() const;
		QAction*		getSaveAction() const;
		QAction*		getLoadAction() const;
		
	public slots:
		void			exit();
};

#endif
